package com.saikuo.service.dao;

import com.saikuo.service.vo.CouponView;

import java.util.List;

/**
 * Created by shanchangyu on 16/11/03.
 */
public interface ICouponDao {
    List<CouponView> getUserCoupon(int userId, int status, int start, int limit);

    List<CouponView> getUserCouponAccordPrice(int userId, Double price, int start, int limit);

    CouponView getCouponByUserCouponId(int userCouponId);

    boolean updateUsedCoupon(int id, int status);

}
